

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
        *{
	margin: 0;
	padding: 0;
}

a{
	text-decoration: none;
}
.wrap{
	width: 100%;
	position: relative;
	
}
.header{
	width: 100%;
	height: 50px;
	background: darkgray;
	line-height: 50px;
}
.title{
	width: 600px;
	margin-left: 100px;
}
li{
	list-style: none;
	padding: 0;
	float: left;
	margin-left: 20px;
	color: white;
}
.content{
	width: 80%;
	margin: 20px auto;
}
.con{
	width: 690px;
	height: 600px;
	background: lightgray;
	position: relative;
}
img{
	position: absolute;
	top: 150px;
	left: 40px;
	
}
.logo{
	font-size: 35px;
	position: absolute;
	top: 50px;
	left: 40px;
}
.text{
	position: absolute;
	top: 110px;
	left: 40px;
}
 .content{
	position: relative;
	width: 850px;
	box-sizing: border-box;
	margin: 0px auto;
	background-color:white;
	display: flex;
	margin-top: 60px;
	z-index: 1;
}
.content .box-con {
	width: 1200px;
	height: 558px;
}
.content .box-con li{
	border: 1px solid lightgray;
	width: 170px;
	height: 260px;
	float: left;
	margin: 0px 56px 17px 0px;
	position: relative;
}
/*.content .box-con li>p{
	position: absolute;
	font-size: 10px;
	bottom: 5px;
 	color: red;
 	text-align: center;
 	margin-top: 200px;
}*/

.content .box-con li a{
	display: block;
	position: relative;
}
.content .box-con li  button{
	position: absolute;
	left: 60px;
	bottom: 20px;
	background-color: limegreen;
	border-radius: 6px;
	padding: 3px 6px;
	color: #fff;
	outline: none;
}
.content .box-con li a img{
	position: absolute;
	left: 10px;
	top: 20px;
}
.content .box-con li a p{
	padding: 0px 20px;
	height: 20px;
	overflow: hidden;
}
.content .box-con li a .book-name{
	font-size: 16px;
	color: black;
	position: absolute;
	top: 185px;
}
.content .box-con li a .price{
	color: red;
	font-size: 12px;
	position: absolute;
	top: 220px;
}
.content .pages{
	width: 100%;
	position: absolute;
	display: flex;
	top: 850px;
	justify-content: center;
}
.content .pages span{
	width: 22px;
	line-height: 22px;
	text-align: center;
}
.content .pages span.active{
	background: cadetblue;
}
.content .pages .after{
	margin-right: 10px;
}
.content .pages .befor{
	margin-left: 10px;
}
    </style>
  </head>
  <body><div class="content">
    <ul class="box-con"> 
		
        <li>
            <a href="zuoye01.html">
                <img src="./img/181005_106.jpg" alt="" />	
                <p class="book-name">书名</p>
                <p class="price">￥20</span></p>
            
            </a>
            <button>立即购买</button>
        </li>
        <li>
            <a href="zuoye01.html">
                <img src="./img/181005_106.jpg" alt="" />	
                <p class="book-name">书名</p>
                <p class="price">￥20</span></p>
            
            </a>
            <button>立即购买</button>
        </li>
        <li>
            <a href="zuoye01.html">
                <img src="./img/181005_106.jpg" alt="" />	
                <p class="book-name">书名</p>
                <p class="price">￥20</span></p>
            
            </a>
            <button>立即购买</button>
        </li>
        <li>
            <a href="zuoye01.html">
                <img src="./img/181005_106.jpg" alt="" />	
                <p class="book-name">书名</p>
                <p class="price">￥20</span></p>
            
            </a>
            <button>立即购买</button>
        </li>
        <li>
            <a href="zuoye01.html">
                <img src="./img/181005_106.jpg" alt="" />	
                <p class="book-name">书名</p>
                <p class="price">￥20</span></p>
            
            </a>
            <button>立即购买</button>
        </li>
        <li>
            <a href="zuoye01.html">
                <img src="./img/181005_106.jpg" alt="" />	
                <p class="book-name">书名</p>
                <p class="price">￥20</span></p>
            
            </a>
            <button>立即购买</button>
        </li>
        
    </ul>
    <div class="pages">
        <button class="btn after">上一页</button>
        
            <span class="active">1</span>	
        
        <button class="btn befor">下一页</button>
    </div>
</div>

</body>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<script type="text/javascript" src="js/booksList.js"></script>
</html>
